<?php
namespace app\index\controller;
use think\Controller;
class Post extends Controller
{
    private $model;
    //前置操作
    protected $beforeActionList = [
        'first',
    ];

    protected function first()
    {
        echo 'first<br/>';
    }
    public function index()
    {
        return '1233123213';
    }
    public function test()
    {
        return "test";
    }
}
